package com.homedo.microservice.open.service.gateway.bean.po;

import com.homedo.common.dao.bean.po.base.BasePo;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 路由版本配置表
 *
 * @author 作者 jgshun
 * @date 创建时间 2018年09月19日 17时16分40秒
 */
@Table(name = "d_route_version")
public class RouteVersion extends BasePo {
    /**
     * 属性查询列表
     */
    public static final String FIELD_ID = "id";
    public static final String FIELD_VERSION = "version";
    public static final String FIELD_ROUTEID = "routeId";
    public static final String FIELD_SERVICEID = "serviceId";
    public static final String FIELD_CREATETIME = "createTime";
    public static final String FIELD_UPDATETIME = "updateTime";
    public static final String FIELD_COMMENT = "comment";
    public static final String FIELD_STATUS = "status";
    /**
     * 列名查询列表
     */
    public static final String COLUMN_ID = "id";
    public static final String COLUMN_VERSION = "version";
    public static final String COLUMN_ROUTE_ID = "route_id";
    public static final String COLUMN_SERVICE_ID = "service_id";
    public static final String COLUMN_CREATE_TIME = "create_time";
    public static final String COLUMN_UPDATE_TIME = "update_time";
    public static final String COLUMN_COMMENT = "comment";
    public static final String COLUMN_STATUS = "status";


    @Id

    @GeneratedValue(generator = "JDBC")

    @Column(name = "id")
    private java.lang.Integer id;


    @Column(name = "version")
    private java.lang.String version;


    @Column(name = "route_id")
    private java.lang.String routeId;


    @Column(name = "service_id")
    private java.lang.String serviceId;


    @Column(name = "create_time")
    private java.util.Date createTime;


    @Column(name = "update_time")
    private java.util.Date updateTime;


    @Column(name = "comment")
    private java.lang.String comment;


    @Column(name = "status")
    private java.lang.Integer status;

    /**
     * 获取 自增主键
     *
     * @return id - 自增主键
     */
    public java.lang.Integer getId() {
        return id;
    }

    /**
     * 设置 自增主键
     *
     * @param id - 自增主键
     */
    public void setId(java.lang.Integer id) {
        this.id = id;
    }

    /**
     * 获取 版本号
     *
     * @return version - 版本号
     */
    public java.lang.String getVersion() {
        return version;
    }

    /**
     * 设置 版本号
     *
     * @param version - 版本号
     */
    public void setVersion(java.lang.String version) {
        this.version = version;
    }

    /**
     * 获取 路由ID
     *
     * @return routeId - 路由ID
     */
    public java.lang.String getRouteId() {
        return routeId;
    }

    /**
     * 设置 路由ID
     *
     * @param routeId - 路由ID
     */
    public void setRouteId(java.lang.String routeId) {
        this.routeId = routeId;
    }

    /**
     * 获取 服务ID
     *
     * @return serviceId - 服务ID
     */
    public java.lang.String getServiceId() {
        return serviceId;
    }

    /**
     * 设置 服务ID
     *
     * @param serviceId - 服务ID
     */
    public void setServiceId(java.lang.String serviceId) {
        this.serviceId = serviceId;
    }

    /**
     * 获取 创建时间
     *
     * @return createTime - 创建时间
     */
    public java.util.Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置 创建时间
     *
     * @param createTime - 创建时间
     */
    public void setCreateTime(java.util.Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取 更新时间
     *
     * @return updateTime - 更新时间
     */
    public java.util.Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置 更新时间
     *
     * @param updateTime - 更新时间
     */
    public void setUpdateTime(java.util.Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取 备注
     *
     * @return comment - 备注
     */
    public java.lang.String getComment() {
        return comment;
    }

    /**
     * 设置 备注
     *
     * @param comment - 备注
     */
    public void setComment(java.lang.String comment) {
        this.comment = comment;
    }

    /**
     * 获取 是否可用
     *
     * @return status - 是否可用
     */
    public java.lang.Integer getStatus() {
        return status;
    }

    /**
     * 设置 是否可用
     *
     * @param status - 是否可用
     */
    public void setStatus(java.lang.Integer status) {
        this.status = status;
    }
}